package com.jxdinfo.hussar.activitidemo.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.jxdinfo.hussar.activitidemo.bean.TdbYjMMbook;
import com.jxdinfo.hussar.activitidemo.bean.TdbYjMMbookDetail;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author
 * @since 2019-03-22
 */
public interface ITdbYjMMbookService extends IService<TdbYjMMbook> {
	Object add(TdbYjMMbook mBook);

	Page<TdbYjMMbook> bookSearch(Page<TdbYjMMbook> page, TdbYjMMbook info);

	Page<TdbYjMMbook> list(Page<TdbYjMMbook> page, TdbYjMMbook info);

	Page<TdbYjMMbookDetail> detailList(Page<TdbYjMMbookDetail> regulationsInfo, TdbYjMMbookDetail infoDetail);

	/**
	 * 删除
	 */

	void delete(TdbYjMMbook mBook);

	/**
	 * 状态修改
	 * 
	 * @param mBook
	 * @return
	 */
	void updateStatus(TdbYjMMbook mBook);

	TdbYjMMbook selectById(String tdbYjMMbookId);

	Integer updateInfo(TdbYjMMbook mBook);
}
